package com.dg11185.nearshop.net.entity;

import org.json.JSONObject;

/**
 * 评论回复
 * 
 * @author：Daibo
 * @time：2014-5-16 上午9:46:51
 */
public class CommentReply {

    public String commentId = "";

    public String createTime = "";

    public String content = "";

    public String userType = "";

    public String userId = "";

    public String userName = "";
    
    public String headPhoto = "";

    public String toReplyUserType = "";

    public String toReplyUserId = "";

    public String toReplyUserName = "";

    public String mainCommentId = "";

    public String merchantId = "";

    public String remark = "";

    public void parseEntity(JSONObject object) {

        commentId = object.optString("comment");
        createTime = object.optString("createTime");
        content = object.optString("content");
        userType = object.optString("userType");
        userId = object.optString("userId");
        userName = object.optString("userName");
        headPhoto = object.optString("headPhoto");
        toReplyUserType = object.optString("toReplyUserType");
        toReplyUserId = object.optString("toReplyUserId");
        toReplyUserName = object.optString("toReplyUserName");
        mainCommentId = object.optString("mainCommentId");
        merchantId = object.optString("merchantId");
        remark = object.optString("remark");
    }
}
